package pnu.ssm.chinese;



import android.graphics.Bitmap;

public class Stroke {
	Bitmap charStroke;
	Stroke next;
	boolean isLastStroke;
	
	public boolean isLastStroke() {
		return isLastStroke;
	}
	public void setLastStroke(boolean isLastStroke) {
		this.isLastStroke = isLastStroke;
	}
	public Stroke(Bitmap charStroke) {
		this.charStroke = charStroke;
	}
	public Bitmap getBitmap(){
		return charStroke;
	}
	public void recycle(){
		if(charStroke != null){
			charStroke.recycle();
			charStroke = null;
		}
	}
}
